package com.wxb.service.impl;

import com.wxb.domain.MallBrandEntity;
import com.wxb.mapper.MallBrandMapper;
import com.wxb.service.IMallBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 10:54
 * @Version 1.0
 * @Description
 * @ClassName MallBrandServiceImpl
 **/
@Service
public class MallBrandServiceImpl implements IMallBrandService {
    @Autowired
    private MallBrandMapper brandDao;


    public MallBrandEntity queryObject(Integer id){
        return brandDao.queryObject(id);
    }


    public List<MallBrandEntity> queryList(Map<String, Object> map){
        return brandDao.queryList(map);
    }


    public int queryTotal(Map<String, Object> map){
        return brandDao.queryTotal(map);
    }


    public void save(MallBrandEntity brand){
        brandDao.save(brand);
    }


    public void update(MallBrandEntity brand){
        brandDao.update(brand);
    }


    public void delete(Integer id){
        brandDao.delete(id);
    }


    public void deleteBatch(Integer[] ids){
        brandDao.deleteBatch(ids);
    }
}
